-
Notifications
You must be signed in to change notification settings - Fork 100
feat: Make settings not thread-local #1444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1444 +/- ##
==========================================
- Coverage 78.41% 77.96% -0.45%
==========================================
Files 162 162
Lines 39629 40196 +567
==========================================
+ Hits 31075 31340 +265
- Misses 8554 8856 +302 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging #1444 will improve performances by 14.77%Comparing Summary
Benchmarks breakdown
Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's quite a few places in this PR we can clean up and consolidate settings, however, many of those changes would require substantial refactoring. I think we can defer that additional work to separate PRs to make this one easier to review. This PR makes settings fully pass by reference and after we address a few open questions, it should be good to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve assuming Gavin's questions are answered.
…ttings-not-thread-local
Settings are now snapshotted at public API surfaces and passed through all layers below.
Note related work from @ok-nick in #1447 and further work likely in #1454.